<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<CodeCampServerLite.UI.Models.ConferenceListModel[]>" MasterPageFile="~/Views/Shared/Site.Master" %>
<asp:Content runat="server" ContentPlaceHolderID="TitleContent">
    Index
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="MainContent">

    <table>
		<tr><th></th><th>Conference Name</th><th>Session Count</th><th>Attendee Count</th></tr>
    <%foreach (var model in Model)%>
        <%{ %>
            <tr>
                <td><%=Html.ActionLink("Edit", "Edit", new { confname = model.Name }, null)%></td>
                <td><%=Html.ActionLink(model.Name, "Show", new { confname = model.Name })%></td>
                <td><%=model.SessionCount%></td>
                <td><%=model.AttendeeCount%></td>
            </tr>
        <%} %> 
    </table>
    
</asp:Content>
